package com.chixing.day03_oop;

public class AccountTest {
    public static void main(String[] args) {
        Account account1 = new Account();
        account1.setAccNo(101);
        account1.setAccName("王心凌");
        account1.setAccPassword(255644);
        account1.setAccTelno(1567755224);
        account1.setAccBalance(565555);
        account1.setAccType(0);
        account1.show();
        account1.setAccTelno(1833893849);
        account1.show();

        Account account2 = new Account();
        account2.setAccNo(102);
        account2.setAccName("蔡依林");
        account2.setAccPassword(657785);
        account2.setAccTelno(1574455655);
        account2.setAccBalance(58);
        account2.setAccType(1);
        account2.show();
        account2.depoist(1000);
        account2.withdraw(500);

    }
}
